import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
// 自定义封装全局方法
import GlobalProperties from "@/utils/globalProperties.js";
// 全局组件
import GlobalComponent from '@/utils/globalComponent.js'
import '@/assets/main.scss'

// 引入初始化样式文件
import '@/styles/index.scss'

const app = createApp(App)

app.use(GlobalProperties)
app.use(GlobalComponent)
app.use(createPinia())
app.use(router)
app.mount('#app')